<?php if(!defined('IN_APP')) exit('Access Denied');?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
	<meta charset="UTF-8">
	<title>余额变动记录</title>
	<meta name="description" content="">
	<meta name="keywords" content="">
	<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
	<meta name="format-detection" content="telephone=no,email=no,adress=no" />
	<meta name="apple-mobile-web-app-capable" content="yes" />  
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<link rel="stylesheet" href="<?php echo THEME_PATH;?>styles/swiper.min.css">
	<link rel="stylesheet" href="<?php echo THEME_PATH;?>styles/reset.css">
	<link rel="stylesheet" href="<?php echo THEME_PATH;?>styles/common.css">
	<link rel="stylesheet" href="<?php echo THEME_PATH;?>styles/style.css">	
</head>
<body>
	<!-- S header -->
	<header>
		<a href="/index.php?m=user&c=home&a=wallet_index" class="headerL iconfont">&#xe69f;</a>
		<h1>余额变动记录</h1>
	</header>
	<!-- E header -->
	
	<ul class="record-conversion-wrap">
	<?php foreach($records as $key => $value) :?>
		<li>
			<a href="" class="flex flex-pack-justify">
				<div>
					<h2 class="convert"><?php echo $value['balance']; ?></h2>
					<p class="tel"><?php echo $value['remarks']; ?></p>
				</div>
				<div class="flex">
					<dl>
						<dt class="condition">
						
						
							
						<?php if($value['type'] == 1) : ?>
						充值 
						<?php elseif($value['type'] == 2) : ?>
						提现
						<?php elseif($value['type'] == 3) : ?>
						交易
						<?php elseif($value['type'] == 4) : ?>
						兑换GF
						<?php elseif($value['type'] == 5) : ?>
						后台操作
						
						<?php endif ?>
						
						</dt>
						<dd class="time"><?php echo $value['add_time']; ?></dd>
					</dl>
					<!-- <i class="iconfont">&#xe6a0;</i> -->
				</div>
			</a>
		</li>
		<?php endforeach ?>
	</ul>
	<p class="hint">没有更多了</p>
</body>